#!/bin/bash
# 安全中心team
# 重新启动IcodeLevel服务脚本
service=OzeinFilter
echo "ATTENTION:restart $service"
source ../../bin/vars
for server in `icegridadmin --Ice.Config=${AS_HOME}/etc/admin.cfg -u user -p password -e "server list" | grep $service`;
do
	echo "stop $server"
	icegridadmin --Ice.Config=${AS_HOME}/etc/admin.cfg -u user -p password -e "server stop $server"
	echo "start $server"
 	icegridadmin --Ice.Config=${AS_HOME}/etc/admin.cfg -u user -p password -e "server start $server"	
done

